<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>JavaScript BOM Location对象的应用</title>
    </head>
    <body>
        <h3>JavaScript BOM Location对象的应用</h3>
        <hr />
        <script>
		//跳转其他URL地址
		location.href="http://www.baidu.com";
        </script>
    </body>
</html>
